/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    height: 80px;
    width: 100%;
    background-color: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

header ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header li {
    margin-right: 20px;
}

header a {
    color: white;
    text-decoration: none;
}

header a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 36px;
    margin: 0;
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.newcomer-section {
    background-image: url('background.jpg');
    background-size: cover;
    padding: 50px 20px;
    text-align: center;
    color: white;
}

.rule-btn {
    float: right;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
}

.rule-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.lottery-box {
    width: 300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
    background-color: #ff4500;
    border: 5px solid #ffd700;
    border-radius: 10px;
}

.lottery-item {
    background-color: #fff;
    border-radius: 5px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #333;
}

.lottery-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.lottery-btn {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100px;
    height: 100px;
    border: none;
    border-radius: 50%;
    background-color: #ff0000;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lottery-btn:hover {
    background-color: #cc0000;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #f4f4f4;
}
.newcomer-section{
    background-image:url("image/固定抽奖结果.png");
    background-repeat: no-repeat;
}